package com.yunji.hushuang.adapter;

/**
 * @author hushuang
 * @since 2019/10/31
 */
public class MicroUsbRecharger {

    private static void recharge(IFormatAndroid android) {
        android.connectByMicroUsb();
        android.recharge();
    }

    public static void main(String[] args) {
        IPhone iPhone = new IPhone();
        IPhoneAdapter adapter = new IPhoneAdapter(iPhone);

        recharge(adapter);
    }

}
